package com.vhall.component.controller.account.facade.logger;

import com.vhall.component.entity.logger.vo.OperateLogPageReqVO;
import com.vhall.component.entity.logger.vo.OperateLogPageRespVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import javax.validation.Valid;

/**
 * 日志管理
 *
 * @author shimingming
 * @since 2023/2/17 10:40
 */
@FeignClient(value = "OperateLogFacade", path = "/v4/log/system/operate-log")
public interface OperateLogFacade {

    /**
     * 查看操作日志分页列表
     */
    @ApiOperation("查看操作日志分页列表")
    @PostMapping(value = "/page")
    OperateLogPageRespVO pageOperateLog(@Valid OperateLogPageReqVO reqVO);

}
